package com.fw.service;

import java.util.List;

import com.fw.model.Ecommerce;

public interface EcommerceService {
	public boolean add_ecommerceService(Ecommerce ecommerce);

	public boolean delete_ecommerceService(Ecommerce ecommerce);

	public Ecommerce query_ecommerceByIdService(Ecommerce ecommerce);

	public List<Ecommerce> query_allEcommerceService();

	public int query_totalEcommerceByPageService(String sql, List<Object> par);

	public List<Ecommerce> query_allEcommerceByPageService(String sql,
			int firstPage, int maxPage, List<Object> par);
	public boolean update_ecommerceByIdService(Ecommerce ecommerce);
}
